@smallRowHeight: 34px;
@contentPadding: 20px;
@mediumRowHeight: 50px;

.G_dialog(@width, @height)
{
  min-height: @height;
  margin-left: 0 - @width / 2;
  margin-top: 0 - @height / 2;
  width: @width;
}

body .overlay
{
  background:  rgba(0, 0, 0, 0.5);
  height: 100%;
  left: 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 999;


  & > .dialog
  {
    opacity: 1;
    position: relative;
    width:40%;
    top: 40%;
    left: 30%;
    background: #f4f4f4;
    box-shadow: 0 0 5px #333333;
    & input[type="radio"] + div{
      display: inline-block;
      line-height: @smallRowHeight;
      vertical-align: top;
    }
    & .dialog-buttons
    {
      bottom: 0px;
      right: 0px;
      position: absolute;
      padding: @contentPadding;
    }
    & > .title{
      font-size: 15px;
      font-weight: bold;
      .backgroundGradient(@headerBackgroundTopColor,@headerBackgroundBottomColor);
      color: #ffffff;
      padding: 7px 20px;
    }
    & .dialog-content{
      padding: @contentPadding;
      & .popup-inline-label{
        padding-right: 5px;
      }
      & .popup-label{
        padding-top: 10px;
      }
      & .description-text-area{
        height: 70px;
        resize: none;
      }
      & .info-container{
        min-height: 195px;
      }
      & .info-container-big{
        min-height: 295px;
      }
    }
  }

  & .icon-delete{
    margin-left: -5px;
    padding-right: 5px;
  }

  & .icon-error{
    margin-right: 5px;
  }

  & > .small-dialog
  {
    .G_dialog(420px, 300px);
  }

  & > .low-dialog
  {
    .G_dialog(600px, 200px);
  }

  & > .big-dialog
  {
    .G_dialog(740px, 400px);
  }

}

.row-small-height > div{
  height: @smallRowHeight;
}

.row-medium-height > div, .row-medium-height > textarea {
  height: @mediumRowHeight;
}

.popup-error-msg{
  margin: 10px 0;
  color: #ed0305;
}

.error-content{
  min-height: 90px;
}

.reschedule-popup{
  & .highlighted{
    color: #ed0305;
  }
}
